package com.team.six.bluecatshop.controller;

import com.team.six.bluecatshop.domain.CartNum;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class GetCarNumController {
    @RequestMapping("/get_cart_num")
    public CartNum getNums(Map<String,Integer> map){
        CartNum  cartNum = new CartNum();
        cartNum.setCartName("cartName");
        cartNum.setCartNum(1);
        return cartNum;
    }
}


